# Maintainer: Alexander F. Rødseth <xyproto@archlinux.org>
# Contributor: Thomas Dziedzic <gostrc@gmail.com>
# Contributor: Jose Valecillos <valecillosjg@gmail.com>
# Contributor: Kaos <gianlucaatlas@gmail.com>
# Contributor: Christopher Rogers <slaxemulator@gmail.com>

pkgname=wordpress
pkgver=6.2
pkgrel=1
pkgdesc='Blog tool and publishing platform'
arch=(any)
url='https://wordpress.org/'
license=(GPL)
depends=(php)
optdepends=('apache: Web server'
            'mariadb: Database server'
            'nginx: Web server')
options=(emptydirs)
install=$pkgname.install
source=("https://wordpress.org/$pkgname-$pkgver.tar.gz")
b2sums=('796a0e5c07c8628fbb6406f79b31123f4328f628b8814b02d506f4aed7217ccc5fc07aff3f441be0f1aa55fe8b9a4c184b2b5d0ed0892f1dedddab101632a70d')

package() {
  install -d "$pkgdir/usr/share/webapps"
  cp -r $pkgname "$pkgdir/usr/share/webapps"
}

# getver: core.trac.wordpress.org/timeline?milestone=on
